<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
    <meta charset="utf-8"/>
    <title>社会渠道集中应用门户 | <sitemesh:write property='title'/></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <script>
        var rootPath = "${rootPath}";
        var oldMetronicResource = "${oldMetronicResource}";
    </script>
    <#include "/include/page-head.ftl"/>
    <@shiro.hasRole name="admin">
        <script>
            function iframeheightauto() {
                var main = $(window.parent.document).find("#urliframe");
                if (main.length > 0) {
                    var thisheight = $("body").innerHeight();
                    if (document.getElementsByTagName("body")[0].scrollHeight) thisheight = document.getElementsByTagName("body")[0].scrollHeight;
                    main.attr("height", thisheight);
                }
            }
            $(function () {
                iframeheightauto();

                $("body").mouseover(function () {
                    iframeheightauto();
                });

            });
        </script>
    </@shiro.hasRole>

    <sitemesh:write property='head'/>
</head>
<body>
<sitemesh:write property='body'/>
</body>
</html>